package com.palazzisoft.balonpie.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.palazzisoft.balonpie.entities.User;

@Controller
public class ApiController {

	@RequestMapping(value = "/carlos")
	@ResponseBody
	public  User  apiMethod() {
		User user = new User("nena","fuiste");
		System.out.println("I just don't know what to do with myself");
		
		
		return user;
	}
	
	@RequestMapping(value = "/outside/imaginadores", method = RequestMethod.POST)
	public void fet() {
		System.out.println("imaginadores");
	}
}
